﻿using System;
using Platformer_Example.Controller.Terrain;
using Transformable_Engine_v2.Engine.Graphics;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Platformer_Example.Content.Images.Player
{
    public class SpritesheetObjects : SpriteSheetInstance
    {
        private static SpriteSheetInstance _instance;
        public static void LoadContent()
        {
            _instance = new SpritesheetObjects();
        }
        public new static Sprite GetSprite(Enum textureName)
        {
            return _instance.GetSprite(textureName);
        }
        public static SpriteSheetInstance GetInstance()
        {
            return _instance;
        }

        public override string SpriteSheetPath
        {
            get
            {
                return "Content/Images/Objects/Objects.png";
            }
        }

        public enum Objects
        {
            Key,
            KeyHover,
            Box,
            BoxHover
        }
        protected override void LoadSprites()
        {
            AddEnumList<Objects>(Objects.Key, Objects.BoxHover, new TE_Rectangle(0, 0, 1, 1), 4);
        }


    }
}